package cn.com.qtgl.apis.iam.model.entity;

import cn.melonlib.cores.commons.model.entity.TenantRecordEntity;
import cn.melonlib.cores.model.anno.ModelComment;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.*;

@Data
@EqualsAndHashCode(callSuper = true)
@ModelComment("管理员用户")
@Entity(name = "AdminUser")
@Table(name = "apis_admin_user")
public class AdminUser extends TenantRecordEntity {

    @ModelComment("用户账号")
    private String userAccount;

    @ModelComment("用户快照")
    @Column(name = "c_user")
    @Lob
    @Basic(fetch = FetchType.LAZY)
    private String user;
}
